home *** CD-ROM | disk | FTP | other *** search
/ Speccy ClassiX 1998 / Speccy ClassiX 98.iso / amiga_system / the_aminet / dev / gcc / ixemulsrc.lha / ixemul-41.4 / gen_library / Makefile.in < prev    next >
Makefile  |  1995-05-23  |  2KB  |  76 lines

  1. #### Start of system configuration section. ####
  2.  
  3. srcdir =    @srcdir@
  4. VPATH =        @srcdir@
  5.  
  6. # Common prefix for machine-independent installed files.
  7. prefix =    @prefix@
  8.  
  9. # Common prefix for machine-dependent installed files.
  10. exec_prefix =    @exec_prefix@
  11.  
  12. bindir =    $(exec_prefix)/bin
  13. libdir =    $(exec_prefix)/Sys/libs
  14.  
  15. INSTALL =    @INSTALL@
  16. INSTALL_DATA =    @INSTALL_DATA@
  17.  
  18. CC =        @CC@
  19.  
  20. CFLAGS =    @CFLAGS@
  21. LDFLAGS =    @LDFLAGS@
  22.  
  23. RANLIB =    @RANLIB@
  24. AR =        ar
  25.  
  26. #### End system configuration section ####
  27.  
  28. FLAVOR_CFLAGS =    -m$(CPU) -m$(FPU)
  29. OTHER_CFLAGS =    -fomit-frame-pointer
  30. ALL_CFLAGS =    $(CFLAGS) $(FLAVOR_CFLAGS) $(OTHER_CFLAGS) $(INCS)
  31.  
  32. INCS =        -I$(srcdir) -I$(srcdir)/../library -I$(srcdir)/../include
  33. LIB =        libgen.a
  34.  
  35. .s.o:
  36.         cp $< x.c
  37.         $(CC) $(ALL_CFLAGS) -traditional -E x.c -o x.s
  38.         $(CC) $(ALL_CFLAGS) -c x.s -o $@
  39.         rm -f x.c x.s
  40.  
  41. .c.o:
  42.         $(CC) $(ALL_CFLAGS) -c $< -o $@
  43.  
  44. SRC =        _setjmp.s alarm.c clock.c crypt.c ctype_.c difftime.c \
  45.         errlst.c fnmatch.c fts.c getlogin.c getmntinfo.c getwd.c \
  46.         glob.c insque.s isctype.c isinf.c isnan.c mktemp.c pause.c \
  47.         psignal.c random.c remove.c remque.s setjmp.s setjmperr.c \
  48.         siginterrupt.c siglist.c signal.c sigsetjmp.c sigsetops.c \
  49.         sleep.c termios.c time.c times.c ualarm.c unvis.c usleep.c \
  50.         vis.c wait.c wait3.c waitpid.c
  51. #raise.c not used
  52.  
  53. OBJ =        _setjmp.o alarm.o clock.o crypt.o ctype_.o difftime.o \
  54.         errlst.o fnmatch.o fts.o getlogin.o getmntinfo.o getwd.o \
  55.         glob.o insque.o isctype.o isinf.o isnan.o mktemp.o pause.o \
  56.         psignal.o random.o remove.o remque.o setjmp.o setjmperr.o \
  57.         siginterrupt.o siglist.o signal.o sigsetjmp.o sigsetops.o \
  58.         sleep.o termios.o time.o times.o ualarm.o unvis.o usleep.o \
  59.         vis.o wait.o wait3.o waitpid.o
  60. #raise.o not used
  61.  
  62.  
  63. $(LIB):        $(OBJ)
  64.         rm -f $@
  65.         $(AR) rv $@ $(OBJ)
  66.         $(RANLIB) $@
  67.  
  68. clean:
  69.         rm -f *!
  70.  
  71. clobber:    clean
  72.         rm -f $(OBJ) $(LIB)
  73.  
  74. glob.o:        $(srcdir)/glob.c
  75.         $(CC) $(ALL_CFLAGS) -ffixed-a4 -c $(srcdir)/glob.c -o $@
  76.